home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
gldebug.z
/
gldebug
Wrap
Text File
|
1998-10-30
|
4KB
|
133 lines
GGGGLLLLDDDDEEEEBBBBUUUUGGGG((((1111)))) GGGGLLLLDDDDEEEEBBBBUUUUGGGG((((1111))))
NNNNAAAAMMMMEEEE
gldebug - debug utility for GL programs
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ggggllllddddeeeebbbbuuuugggg [----hhhhwwwweeeeffff] [----ccccssss] [----CCCC] [----FFFF] [----pppp wait] [----iiii filename] [----oooo filename]
[----OOOO] application [ -application options ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ggggllllddddeeeebbbbuuuugggg is an aid for debugging GL programs. It outputs a trace of GL
functions and parameters invoked by the program, and performs run-time GL
error checking of parameters and state, to ensure that the GL is being
called by the application properly.
Also provided with ggggllllddddeeeebbbbuuuugggg are a Stateviewer and a Controller. The
Stateviewer graphically displays the current state of the GL as the
application is running. The Controller allows the user to interactively
change the level of debugging output, as well as set breakpoints to stop
execution at GL calls or at error conditions.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
----hhhh no history output.
----wwww no warning output.
----eeee no error output.
----ffff no fatal error output.
----cccc do not run Controller.
----ssss do not run Stateviewer.
----CCCC generate C code in history file.
----FFFF flush output buffer to history file after each GL call.
----pppp _w_a_i_t profile (output the number of times each GL function is
called). wait is the number of GL calls wait between
each profile write to file. Profile output goes to
_G_L_d_e_b_u_g._c_o_u_n_t.
----iiii _f_i_l_e_n_a_m_e ignore the GL functions listed in filename when writing
output. filename should contain GL function names listed
one per line.
----oooo _f_i_l_e_n_a_m_e send history trace output to filename. Default is
_G_L_d_e_b_u_g._h_i_s_t_o_r_y.
----OOOO send history trace output to stdout. This overrides -o
filename.
PPPPaaaaggggeeee 1111
GGGGLLLLDDDDEEEEBBBBUUUUGGGG((((1111)))) GGGGLLLLDDDDEEEEBBBBUUUUGGGG((((1111))))
FFFFIIIILLLLEEEESSSS
/usr/lib/libgd.so gldebug dynamic shared object
/usr/sbin/gldebug executable
/usr/sbin/gd_controller the Controller executable
/usr/sbin/gd_stateview the Stateviewer executable
/usr/lib/X11/app-defaults/GLdebug
the X application defaults for the controller
and stateviewer.
NNNNOOOOTTTTEEEESSSS
A program must have been linked with the GL dynamic shared object (DSO),
IRIX release 5.0 or later, to work with gldebug. A program linked with
the shared GL library (-lgl_s), available with previous releases of the
operating system, will not work with gldebug.
The stateviewer will be disabled when running gldebug on a program that
is displaying windows on a remote system (ie. the DISPLAY environment
variable is set to a system other than that which is running the program
itself). In this case, a warning message will appear in a menu to
explain the stateviewer's absence.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
GL Programming Tools and Techniques, GLdebug chapter
PPPPaaaaggggeeee 2222